﻿using HCApp.Core.Common.ViewModels;
using LinnerToolkit.Core.Commands;
using LinnerToolkit.Core.Navigation;
using LinnerToolkit.Core.Services;
using System.Windows.Input;

namespace MainAppEntryPrismWpf.ViewModels
{
    public class DailyRepositoryViewModel  :ViewModelBase
    {
          public ICommand ExitCommand { get; }
    public DailyRepositoryViewModel(IAppNavigationService navigationService, IDialogService dialogService) : base(navigationService)
    {
            
       
            ExitCommand = new LockDelegateCommand(async () =>
            {

                await NavigationService.NavigateAsync("Page1");

            });
        
    }
    }
}
